package entity;

public class Result {

    //-1:session超时、0:正常错误、1:成功、2：没有权限
    private String error_code = Const.RESULT_0;
    private String error_msg = "成功！";
    private String token = "";
    private Object bus_json;

    public Result(String error_code, String error_msg, String token, Object bus_json) {
        this.error_code = error_code;
        this.error_msg = error_msg;
        this.token = token;
        this.bus_json = bus_json;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Object getBus_json() {
        return bus_json;
    }

    public void setBus_json(Object bus_json) {
        this.bus_json = bus_json;
    }
}
